package com.wisewin.pose.util.wechatOffice.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author 溪浣君
 * 2024/11/1
 * redis操作的相关配置
 */
@Configuration
@Component
@ConfigurationProperties(prefix = "wechat.redis")
public class RedisProperties {

    private String prefix="qr";

    private Integer qrExpiredMinute=3;

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public Integer getQrExpiredMinute() {
        return qrExpiredMinute;
    }

    public void setQrExpiredMinute(Integer qrExpiredMinute) {
        this.qrExpiredMinute = qrExpiredMinute;
    }
}
